<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<meta charset="UTF-8">
<title>PCDemo</title>
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="app-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<link rel="stylesheet" type="text/css" href="css/grid.css" />
<link rel="stylesheet" type="text/css" href="css/basePC.css" />
<script type="text/javascript" src="js/jquery.min.js?v=${v}"></script>
<style type="text/css">
.PW{clear:both;margin:auto;width:1124px;}
.menu ul{list-style:none;color: white;}
.menu ul li{float:left;padding:0 15px;cursor:pointer}
.menu ul li:hover{background-color:rgba(0,0,0,0.1);}
li a{color: white;}
</style>
</head>
<body class="lh30">
	<!-- TopMenu1 -->
	<div class="panel" style="background: #2F8BCD;">
		<div class="PW menu lh40  ">
			<ul class="fl fb">
				<li>生菜金融-日志监控系统</li>
			</ul>
			<ul class="fr">
				<li><a href="${ctx}/monitor">监控首页</a></li>
				<li><a href="${ctx}/search">RDService</a></li>
				<li><a href="${ctx}/monitorHistory">SysMonitor</a></li>
				<li><a href="${ctx}/logError">警报处理</a></li>
			</ul>
		</div>
	</div>
	<!--Search -->
	<div class="panel">
		<div class="PW ">
			<div class="panel-header mt10">
				<label class="title">查询条件</label> <label class="hui _small">[模糊查询请用于搜索结果少于10W条的数据]</label>
			</div>
			<div class="panel-content border1">
				<form action="#" method="post" class="SearchForm p10" onsubmit="return checkForm(this)">
					<input type="hidden" name="curPage" value="" />
					<div class="clear">
						<div class="g-2-24 tr">业务编号：</div>
						<div class="g-4-24">
							<input type="text" name="msgId" value="" />
						</div>
						<div class="g-2-24 tr">业务类型：</div>
						<div class="g-4-24">
							<input type="text" name="bizCode" value="" />
						</div>
						<div class="g-2-24 tr">开始时间：</div>
						<div class="g-4-24">
							<input type="text" name="beginTime" value="" class="datetimepicker" />
						</div>
						<div class="g-2-24 tr">结束时间：</div>
						<div class="g-4-24">
							<input type="text" name="endTime" value="" class="datetimepicker" />
						</div>
					</div>
					<div class="mt5 clear">
						<div class="g-2-24 tr">报文关键字：</div>
						<div class="g-4-24">
							<input type="text" name="msg" value="" placeholder="[模糊查询]" />
						</div>
						<div class="g-2-24 tr">备注：</div>
						<div class="g-4-24">
							<input type="text" name="remark" value="" placeholder="[模糊查询]" />
						</div>
						<div class="g-2-24 tr">日志级别：</div>
						<div class="g-4-24">
							<select name="level">
								<option value="" ${form.level== ''?'selected="selected"':''}>&nbsp;</option>
								<option value="1" ${form.level== '1'?'selected="selected"':''}>DEBUG</option>
								<option value="2" ${form.level== '2'?'selected="selected"':''}>INFO</option>
								<option value="3" ${form.level== '3'?'selected="selected"':''}>WARN</option>
								<option value="4" ${form.level== '4'?'selected="selected"':''}>ERROR</option>
								<option value="5" ${form.level== '5'?'selected="selected"':''}>FATAL</option>
							</select>
						</div>
						<div class="g-6-24 tr">
							<button type="button" class="_blue w80" onclick="doSubmit()">搜索</button>
							<button type="button" class="_def w80 clearForm">清空</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

	<!--  -->
	<div class="panel">
		<div class="PW ">
			<div class="panel-header mt10">
				<label class="title">结果列表</label>
			</div>
			<div class="panel-content  border1">
				<div class="p10">
					<button type="button" class="_blue">导出Exls</button>
					<div class="fr tr" style="z-index: -1; line-height: 20px;"\>
						查询耗时${queryTime}ms,共${count}条记录, 当前${form.curPage}/ 10 页
						<button type="button" onclick="doPage(-1)">上一页</button>
						<button type="button" onclick="doPage(1)">下一页</button>
						<input type="text" style="width: 40px;" value="${form.curPage}" class="tempPage" />
						<button type="button" onclick="doPage(0)">GO</button>
					</div>
				</div>
				<div class="p10 ">
					<table class="table" >
						<tr style="background-color: #F3F4F5">
							<td>业务编号</td>
							<td rowspan="2" width="40%">请求报文</td>
							<td>处理方</td>
							<td>代码地址</td>
							<td colspan="2" width="100px" class="TAC">时间</td>
						</tr>
						<tr style="background-color: #F3F4F5">
							<td>业务类型</td>
							<td colspan="2">备注</td>
							<td class="TAC">流程</td>
							<td class="TAC">级别</td>
						</tr>
						<tbody>
							<tr>
								<td>${temp.msgId}</td>
								<td rowspan="2"><textarea rows="4" cols="" style="min-width: 350px; height: 100%; border: none;">${temp.msg}</textarea></td>
								<td>${temp.currentName}-${temp.currentIp}</td>
								<td>${temp.classPath}</td>
								<td colspan="2" class="TAC"></td>
							</tr>
							<tr>
								<td>${temp.bizCode}</td>
								<td colspan="2">${temp.remark}</td>
								<td class="TAC"></td>
								<td class="TAC"></td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div>
</body>
</html>